import request from '@/axios/axios.js'
//产线
export const lineAll = (params) => {
    return request({
        method: 'post',
        url: '/api/basedataOrganization/getPage',
        data: params
    })
}
export const addLine = (params) => {
    return request({
        method: 'post',
        url: '/api/basedataOrganization/save',
        data: params
    })
}

export const editLine = (params) => {
    return request({
        method: 'put',
        url: '/api/basedataOrganization/update',
        data: params
    })
}

export const deltLine = (params) => {
    return request({
        method: 'delete',
        url: '/api/basedataOrganization/delete',
        data: params
    })
}